package com.yuanhua.xcxmng.wechat.exception;

/**
 * @author hzy24985
 * @version $Id: SessionException, v 0.1 2018/8/7 下午3:43 hzy24985 Exp $
 */
public class SessionException extends WechatBaseException {
    private String threeSession;

    public SessionException(int errorCode, String threeSession) {
        super(errorCode);
        this.threeSession = threeSession;
    }

    public SessionException(String message, int errorCode, String threeSession) {
        super(message, errorCode);
        this.threeSession = threeSession;
    }

    public SessionException(String message, Throwable cause, int errorCode, String threeSession) {
        super(message, cause, errorCode);
        this.threeSession = threeSession;
    }

    public SessionException(Throwable cause, int errorCode, String threeSession) {
        super(cause, errorCode);
        this.threeSession = threeSession;
    }

    public SessionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, int errorCode, String threeSession) {
        super(message, cause, enableSuppression, writableStackTrace, errorCode);
        this.threeSession = threeSession;
    }

    public String getThreeSession() {
        return threeSession;
    }
}
